package cn.bjit.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "地址对象",description = "新增收货地址对象")
public class AddressAddReqeust {

    @ApiModelProperty(value = "是否默认收货地址：0->否；1->是",example = "0")
    @JsonProperty("default_status")
    private Integer defaultStatus;

    @ApiModelProperty(value = "收发货人姓名",example = "admin")
    @JsonProperty("receive_name")
    private String receiveName;

    @ApiModelProperty(value = "收货人电话",example = "13800138000")
    private String phone;

    @ApiModelProperty(value = "省/直辖市",example = "北京市")
    private String province;

    @ApiModelProperty(value = "城市",example = "北京市")
    private String city;

    @ApiModelProperty(value = "区",example = "海淀区")
    private String region;

    @ApiModelProperty(value = "详细地址",example = "中关村南大街110号")
    @JsonProperty("detail_address")
    private String detailAddress;
}
